package com.woniuxy.bookmallmanagersrever.mapper;

import com.woniuxy.bookmallmanagersrever.entity.TManager;
import com.woniuxy.bookmallmanagersrever.vo.ManagerVo;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface TManagerMapper extends Mapper<TManager> {
    @Select("select * from t_manager where user_name = #{value}")
   TManager selectManagerByName(String username);

    List<ManagerVo> selectManagerByCons(String name);
}